home *** CD-ROM | disk | FTP | other *** search
- From unix-listproc@avs.com Wed Jun 22 12:26:41 1994
- Return-Path: <unix-listproc@avs.com>
- Received: from caffeine by cs.bu.edu (8.6.4/Spike-2.1)
- id MAA27971; Wed, 22 Jun 1994 12:26:40 -0400
- Received: from (caffeine) by caffeine (5.0/SMI-SVR4)
- id AA20735; Wed, 22 Jun 94 12:19:32 EDT
- Date: Wed, 22 Jun 94 12:19:32 EDT
- Message-Id: <m0qGV3w-000QEmC@itu2.sun.ac.za>
- Reply-To: pi@itu2.sun.ac.za
- Originator: unix-listproc@avs.com
- Sender: unix-listproc@avs.com
- Precedence: bulk
- From: Pieter Immelman <pi@itu2.sun.ac.za>
- To: Multiple recipients of list <unix-listproc@avs.com>
- Subject: ListProcessor and Linux
- X-Listprocessor-Version: 6.0c -- ListProcessor by Anastasios Kotsikonas
- X-Comment: ListProcessor Support List
- content-length: 1877
- Status: O
-
- A lot of people contacted me after I made the patch for 6.0a (which is
- part of the archive) asking for 6.0c patches, so here they are. If you
- get a message from catmail claiming it is run from an invalid account,
- add an entry for nobody (uid 32767) to your /etc/passwd.
-
- Hope this helps someone,
- -- pi
-
- PS: please shout if I bungled on the patch.
-
- === cut here ===
- diff -ru2 orig/src/Makefile server/src/Makefile
- --- orig/src/Makefile Mon May 16 23:45:39 1994
- +++ server/src/Makefile Mon May 16 23:03:13 1994
- @@ -136,12 +136,13 @@
-
- # define your compiler:
- -CC = cc
- +CC = gcc
-
- # define special symbols (system, preprocessor options, etc):
- -DEFINES = -DHAVE_SELECT_H -DHAVE_ULIMIT_H -DHAVE_SETJMP_H \
- - -DHAVE_TZFILE_H
- +DEFINES = -DHAVE_ULIMIT_H -DHAVE_SETJMP_H \
- + -DZMAILER \
- + -DUCB_MAIL=\"/bin/mailx\"
-
- # define the optimization level
- -OPTIMIZATION = -g
- +OPTIMIZATION = -O6 -fwritable-strings
-
- # define where the preprocessor is:
- diff -ru2 orig/src/fio.c server/src/fio.c
- --- orig/src/fio.c Mon May 16 23:45:51 1994
- +++ server/src/fio.c Mon May 16 23:11:48 1994
- @@ -293,4 +293,6 @@
- #ifdef __NeXT__
- if (utime (file, tvp)) {
- +#elif defined (linux)
- + if (utime (file, &utimest)) {
- #elif defined (i386)
- if (utime (file, utimest)) {
- diff -ru2 orig/src/misc.c server/src/misc.c
- --- orig/src/misc.c Mon May 16 23:46:02 1994
- +++ server/src/misc.c Mon May 16 23:39:52 1994
- @@ -1076,6 +1076,12 @@
- fprintf (stderr, "%s%s%c\n", argv[0], str, ch);
-
- +#ifdef linux
- int _getopt (int argc, char **argv, char *opts)
- {
- + return getopt(argc, argv, opts);
- +}
- +#else
- +int _getopt (int argc, char **argv, char *opts)
- +{
- static int sp = 1;
- register int c;
- @@ -1119,4 +1125,5 @@
- return c;
- }
- +#endif
- ^L
- /*
- === cut here ===
-
-